home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 1.1 / SGI EnlightenDSM 1.1.iso / sco5x / common / bin / p_makedev < prev    next >
Text File  |  1998-07-01  |  941b  |  58 lines

  1. #!/bin/sh
  2. #
  3. #   SID     @(#)p_makedev.sh    1.2 - 95/10/16
  4. #
  5. # Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
  6. #            -- All Rights Reserved --
  7. #
  8. #  created by: Thomas Kraus, February 8, 1994
  9. #
  10.  
  11.  
  12. if test $# -lt 2
  13. then
  14.     echo "Usage: $0 architecture SCSI-ID"
  15.     echo
  16.     echo "Where architecture is one of:"
  17.     echo "         AIX       SUN4"
  18.     echo "     SOLARIS         SCO"
  19.     echo "        HPUX        DGUX"
  20.     echo "        OSF1"
  21.     exit 1
  22. fi
  23.  
  24. exitval=1
  25.  
  26. case "$1" in
  27. SOLARIS)
  28.     #
  29.     # SPARC SOLARIS
  30.     #
  31.  
  32.     echo "Reconfigure the /devices directory. One moment please ..."
  33.  
  34.     /usr/sbin/drvconfig
  35.  
  36.     /usr/sbin/disks
  37.  
  38.     echo "... done"
  39.  
  40.     exitval=0;
  41.     ;;
  42.  
  43. AIX)    echo "Function not yet supported" ;;
  44.  
  45. SUN4)   echo "Function not yet supported" ;;
  46.  
  47. SCO)    echo "Function not yet supported" ;;
  48.  
  49. HPUX)   echo "Function not yet supported" ;;
  50.  
  51. DGUX)   echo "Function not yet supported" ;;
  52.  
  53. OSF1)   echo "Function not yet supported" ;;
  54.  
  55. esac
  56.  
  57. exit $exitval
  58.